﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditCategory.aspx.cs" Inherits="YunCMS.Web.Admin.Catogory.EditCategory" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Styles/reset.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/jquery-ui-1.8.13.custom.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/site.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validate.min.js" type="text/javascript"></script>
    <script src="../../Scripts/messages_zh.js" type="text/javascript"></script>
    <script src="../../Scripts/init-edit.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div id="tabs">
            <ul>
                <li><a href="#tabs-1">基本信息</a></li>
                <li><a href="#tabs-2">扩展信息</a></li>
            </ul>
            <div id="tabs-1">
                <table width="100%" class="edittable">
                    <colgroup>
                        <col width="10%" class="ui-state-default">
                        <col>
                    </colgroup>
                    <tbody>
                        <tr>
                            <th class="word-grey-12">
                                <span><asp:Label ID="ddlDescLB" runat="server" Text="父级模块"></asp:Label></span>
                            </th>
                            <td>
                                <asp:DropDownList ID="parentIdDDL" CssClass="yc-dropdown" runat="server">
                                </asp:DropDownList>
                                <%--<asp:DropDownList ID="ModuleTypeDDL" CssClass="yc-dropdown" runat="server">
                                </asp:DropDownList>--%>
                            </td>
                        </tr>
                        <tr>
                            <th class="word-grey-12">
                                <span>模块名称</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="TitleTB" CssClass="yc-textbox" MaxLength="50"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <th class="word-grey-12">
                                <span>排序数字：</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="OrderNumberTB" MaxLength="10" CssClass="yc-textbox number"
                                    Text=''></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <th class="word-grey-12">
                                <span>是否激活</span>
                            </th>
                            <td>
                                <asp:CheckBox runat="server" ID="ActiveCB"></asp:CheckBox>
                            </td>
                        </tr>
                        <tr>
                            <th class="word-grey-12">
                                <span>链接Target</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="TargetTB" Text="_self" MaxLength="50" CssClass="yc-textbox"></asp:TextBox>
                                <span>"_self","_blank","_top","_parent" 或是指定的窗口</span>
                            </td>
                        </tr>
                        <tr>
                            <th class="word-grey-12">
                                <span>类别描述</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="DescriptionTB" CssClass="yc-textbox" TextMode="MultiLine"
                                    Rows="3"></asp:TextBox>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id="tabs-2">
                <table width="100%" class="edittable">
                    <colgroup>
                        <col width="10%" class="ui-state-default">
                        <col>
                    </colgroup>
                    <tbody>
                        <tr>
                            <th class="word-grey-12">
                                <span>显示名称</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="DisplayTypeTB" MaxLength="10" CssClass="yc-textbox number"
                                    Text=''></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <th class="word-grey-12">
                                <span>图片链接</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="ImageUrlTB" CssClass="yc-textbox"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <th class="word-grey-12">
                                <span>关键词</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="KeywordsTB" CssClass="yc-textbox"></asp:TextBox>
                            </td>
                        </tr>
                        <%--<tr>
                            <th class="word-grey-12">
                                <span>Folder</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="FolderTB" MaxLength="200" CssClass="yc-textbox"></asp:TextBox>
                            </td>
                        </tr>--%>
                        <tr>
                            <th class="word-grey-12">
                                <span>文件目录</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="FilePathTB" MaxLength="200" CssClass="yc-textbox"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <th class="word-grey-12">
                                <span>外部链接</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="OuterLinkTB" CssClass="yc-textbox"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <th class="word-grey-12">
                                <span>类别介绍</span>
                            </th>
                            <td>
                                <asp:TextBox runat="server" ID="ContentTB" CssClass="yc-textbox" TextMode="MultiLine"
                                    Rows="3" MaxLength="16"></asp:TextBox>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="foot-bar" style='text-align: center;'>
                <asp:LinkButton ID="saveBt" runat="server" Text="Insert" OnClick="saveBt_Click"></asp:LinkButton>
                <button id="cancelBt" type="reset">
                    重置</button>
            </div>
        </div>
    </form>
</body>
</html>
